package com.core.bean;



import java.util.Date;

/**
 * 沈
 * 用户表
 */

public class User {
    /**
     * 用户ID
     */
    private String id ;
    /**
     * 用户名
     */
    private String name;
    /**
     * 用户头像
     */
    private String photo;
    /**
     * 注册时间
     */

    private Date register;
    /**
     * 用户状态  0停用 1正常
     */
    private int status;

    public User() {
    }

    public User(String id, String name, String photo, Date register, int status) {
        this.id = id;
        this.name = name;
        this.photo = photo;
        this.register = register;
        this.status = status;
    }

    @Override
    public String toString() {
        return "UserDomain{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", photo='" + photo + '\'' +
                ", register=" + register +
                ", status=" + status +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Date getRegister() {
        return register;
    }

    public void setRegister(Date register) {
        this.register = register;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
